<?php

namespace app\user\controller;

/**
 * 用户相关类
 * Class Common
 * @package app\user\controller
 */
class Member extends Common
{
    protected $user_id;

    public function _initialize()
    {
        parent::_initialize();
        $obj = new \app\logic\Passport($this->str_module_name);
        $this->user_id = $obj->_checkPassport($this->_getContentParams('passport'), $this->_getParams('platform'));
        unset($obj);
    }
}
